<div id="content">
    <div id="title_content">Actualités</div>

    <?php if ($this->session->flashdata('error')): ?>
        <div class="affiche_erreur">
        <?php echo $this->session->flashdata('error'); ?>
    </div>
    <?php endif; ?>
        <form method="POST" action="<?php echo site_url('admin_news/delete_multi_news'); ?>" onsubmit="return go();">

            <table class="list" width="100%">
                <thead>
                    <tr>
                        <th>Titre</th>
                        <th>Description</th>
                        <th>Content</th>
                                   
                        <th colspan="2">Action</th>
                    </tr>
                </thead>
                <tbody>
                <?php foreach ($query as $aRow): ?>
                    <tr>
                        <td><?php echo $aRow['title']; ?></td>
                        <td><?php echo get_short_description($aRow['description'], 30); ?></td>
                        <td><?php echo get_short_description($aRow['content'], 30); ?></td>
                       
                    <td width="30px"><a href="<?php echo site_url('admin_activites/update_actualite') . '/' . $aRow['id'] ?>"><img src="<?php echo base_url() ?>assets/admin/images/modifier.png" alt="modifier"/></a></td>
                    <td width="30px"><a class="confirm_delete" href="<?php echo site_url('admin_activites/delete_actualite'). '/' . $aRow['id']?>"><img src="<?php echo base_url() ?>assets/admin/images/supprimer.png" alt="supprimer"/></a></td>

                </tr>
                <?php endforeach; ?>
                    </tbody>
                </table>
         
        <!--END delete_button-->
    </form>
</div>

<!--END content-->
